#include <string>
#include <iostream>
#include "Person.h"
using namespace std;

namespace model
{
Person::Person()
{
    cout << "构造" << endl;
}
Person::Person(string name, int age)
{
    this->name = name;
    this->age = age;
}
Person::~Person()
{
    cout << "析造" << endl;
}
string Person::toString()
{
    return "name:" + this->name + ", age=:" + to_string(this->age);
}
}